<template>
  <div class="home-view">
    <TopComp></TopComp>
    <!-- 二级路由出口 -->
    <router-view></router-view>
  </div>
</template>
<script setup>
import TopComp from '../components/TopComp.vue'
</script>
<style lang="scss">
//全局设置
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.home-view {
  height: 100vh;
  background-color: #00668a;
  padding-top: 60px; /* 添加顶部内边距，为固定头部留出空间 */
  //版心
  .container {
    width: 1536px;
    margin: 0 auto;
    padding: 24px 160px;
    color: #fff;
  }
}
</style>
